/**
 * @summary: 登录、忘记密码
 */

export default {
    path: '/user',
    component: '../layouts/UserLayout',
    routes: [
        {
            path: '/user',
            redirect: '/user/login'
        },
        {
            path: '/user/login',
            name: 'login',
            component: './User/Login'
        },
        {
            path: '/user/forgot-password',
            name: 'forgot.password',
            component: './User/ForgotPassword'
        },
        // {
        //     path: '/user/authoremail',
        //     name: 'authoremail',
        //     component: './User/AuthorEmail',
        //     // 表示不需要登陆即可访问
        //     static: true
        // },
        // {
        //     name: '邮件授权链接失效',
        //     path: '/user/failed',
        //     component: './User/LoseEmail',
        //     // 表示不需要登陆即可访问
        //     static: true
        // },
        {
            name: '应聘登记表',
            path: '/user/confidential',
            //component: './RecruitEmail/InterviewEntryPage',
            // redirect: '/recruitment/login_old',
            component: './User/Confidential'
            // 表示不需要登陆即可访问
        },
        {
            name: '录用信息确认',
            path: '/user/hireConfirm',
            //component: './RecruitEmail/InterviewEntryPage',
            //redirect: '/recruitment/login_old',
            component: './User/HireConfirm'
        },
        // 入职指引
        {
            name: '入职指引',
            path: '/user/entryGuide',
            component: './RecruitEmail/InterviewEntryPage'
            //redirect: '/recruitment/login_old'
        },
        // 入职指引-查看档案
        {
            name: '查看档案',
            path: '/user/entryguidefile',
            component: './EntryManage/EntryGuideFile'
        }
    ]
};
